﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/Admin/QuanLy.master" AutoEventWireup="true" CodeBehind="QL-Comment.aspx.cs" Inherits="ProjectWebNhac.GUI.Admin.QL_Comment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script src="js/jquery.min.js" type="text/javascript"></script>


<div class="page-header">
            <div class="pull-left">
              <h2>Quản Lý Bình Luận</h2>
            </div>
            <div class="pull-right">
              <ul class="stats">
                <li class="color-second">
                  <span class="fs1" aria-hidden="true" data-icon=""></span>
                  <div class="details" id="date-time"><span class="big">June 20th 2013</span><span>Thu 09:11:00 am</span></div>
                </li>
              </ul>
            </div>
            <div class="clearfix"></div>
          </div>

<ol class="bwizard-steps clearfix clickable" role="tablist">
                      <li  role="tab" aria-selected="false" class="" >
                          <span class="label ">1</span><asp:LinkButton ID="lnkBLBaiHat" runat="server" onclick="lnkBLBaiHat_Click">Bài Hát</asp:LinkButton>
                      </li>
                      <li  role="tab" aria-selected="true" class="" >
                        <span class="label ">2</span>
                        <asp:LinkButton ID="lnkBLVideo" runat="server" onclick="lnkBLVideo_Click" >Video</asp:LinkButton>
                      </li>
                      <li role="tab" aria-selected="false"  class="">
                      <span  class="label">3</span>
                      <asp:LinkButton ID="lnkBlAlbum" runat="server" onclick="lnkBlAlbum_Click" >Album</asp:LinkButton>
                      </li>
                     </ol>

  <div id="divBLBaiHat" runat="Server">
  <div class="row-fluid">

                <div class="span6">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Thông Tin Bình Luận
                  </div>
                </div>
                <div class="widget-body">
                  <div class="row-fluid">
                    <div class="span12">
                      <form class="form-horizontal no-margin">
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Mã Bình Luận</label><div class="span8">
                          <asp:TextBox ID="txtMaBinhLuan" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tên Bài Hát</label><div class="span8">
                          <asp:TextBox ID="txtTenBaiHat" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                      

                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                             Thời Gian
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtThoiGian" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tài Khoản
                          </label>
                          <div class="span8">
                              <%--<asp:TextBox ID="txtQuocGia" runat="server"></asp:TextBox>--%>
                          <asp:TextBox ID="txtTaiKhoan" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Lời Bình
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtLoiBinh" Enabled="false" runat="server" TextMode="MultiLine"></asp:TextBox>
                          </div>
                        </div>


                      <div class="form-actions " style="float: left;  width: 476px;">
                       
                         <div class="span2">
                         <asp:LinkButton ID="lnkXoaBaiHat"  CssClass="btn btn-danger input-top-margin" 
                                    runat="server" onclick="lnkXoaBaiHat_Click">Xóa</asp:LinkButton>
                         </div>
                        </div>  

                      </form>
                    </div>
                  </div>
                  
               </div>
              </div>
            </div>
          </div>

   <div class="row-fluid">
            <div class="span12">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Danh Sách Bình Luận Bài Hát
                  </div>
                </div>
                <div class="widget-body">
                  <div id="dt_example" class="example_alt_pagination">

                    <div id="data-table_wrapper" class="dataTables_wrapper" role="grid">
                    
                        <asp:GridView ID="gvBLBaiHat" runat="server" 
                            CssClass="table table-condensed table-striped table-hover table-bordered pull-left dataTable" 
                            AutoGenerateColumns="False" onrowcommand="gvBLBaiHat_RowCommand" >
                            <Columns>
                              
                              <asp:TemplateField HeaderText="Mã Bình Luận">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBHMaBinhLuan" CommandArgument='<%#Eval("MaBinhLuan")%>' CommandName="ChiTiet" runat="server"><%#Eval("MaBinhLuan")%></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>

                                <asp:TemplateField HeaderText="Tên Bài Hát">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBHBaiHat" runat="server"><%#Eval("TenBaiHat")%></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                              
                                <asp:TemplateField HeaderText="Tài Khoản">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBHTaiKhoan" runat="server"><%#Eval("TaiKhoan")%></asp:LinkButton>
                                  </ItemTemplate>
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle Width="10%" HorizontalAlign="Center" />
                                </asp:TemplateField>
                                
                                <asp:BoundField DataField="ThoiGian" HeaderText="Thời Gian" >
                                
                                <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                                               
                                <asp:TemplateField HeaderText="Trạng Thái">
                                    <ItemTemplate>
                                        <asp:Label ID="lblTrangThai" runat="server" Text='<%# Bind("TrangThai") %>'></asp:Label>
                                    </ItemTemplate>
                                    
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Xử Lý">
                                <ItemTemplate>
                                <asp:LinkButton ID="lnkXoa"  CommandArgument='<%#Eval("MaBinhLuan")%>' OnClientClick="javascript:return confirm('Bạn có chắc xóa bình luận này?');" CommandName="Xoa" CssClass="btn btn-inverse" runat="server" Text="Xóa"></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        </div>
                    <div class="clearfix"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
  </div>

   <div id="divBLVideo" runat="Server" visible=false>
   
  <div class="row-fluid">

                <div class="span6">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Thông Tin Bình Luận
                  </div>
                </div>
                <div class="widget-body">
                  <div class="row-fluid">
                    <div class="span12">
                      <form class="form-horizontal no-margin">
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Mã Bình Luận</label><div class="span8">
                          <asp:TextBox ID="txtMaBinhLuanVideo" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tên Video</label><div class="span8">
                          <asp:TextBox ID="txtTenVideo" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                      

                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                             Thời Gian
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtThoiGianVideo" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tài Khoản
                          </label>
                          <div class="span8">
                              <%--<asp:TextBox ID="txtQuocGia" runat="server"></asp:TextBox>--%>
                          <asp:TextBox ID="txtTaiKhoanVideo" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Lời Bình
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtLoiBinhVideo" Enabled="false" runat="server" TextMode="MultiLine"></asp:TextBox>
                          </div>
                        </div>


                      <div class="form-actions " style="float: left;  width: 476px;">
                       
                         <div class="span2">
                         <asp:LinkButton ID="lnkXoaVideo" Visible=true CssClass="btn btn-danger input-top-margin" 
                                    runat="server" onclick="lnkXoaVideo_Click">Xóa</asp:LinkButton>
                         </div>
                        </div>  

                      </form>
                    </div>
                  </div>
                  
               </div>
              </div>
            </div>
          </div>

   <div class="row-fluid">
            <div class="span12">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Danh Sách Bình Luận Video
                  </div>
                </div>
                <div class="widget-body">
                  <div id="Div1" class="example_alt_pagination">

                    <div id="Div2" class="dataTables_wrapper" role="grid">
                    
                        <asp:GridView ID="gvBLVideo" runat="server" 
                            CssClass="table table-condensed table-striped table-hover table-bordered pull-left dataTable" 
                            AutoGenerateColumns="False" onrowcommand="gvBLVideo_RowCommand"  >
                            <Columns>
                              
                                <asp:TemplateField HeaderText="Tên Video">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBHMaBinhLuan" runat="server"><%#Eval("TenVideo")%></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                              
                                <asp:TemplateField HeaderText="Tài Khoản">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBHTaiKhoan" runat="server"><%#Eval("TaiKhoan")%></asp:LinkButton>
                                  </ItemTemplate>
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle Width="10%" HorizontalAlign="Center" />
                                </asp:TemplateField>
                                
                                <asp:BoundField DataField="ThoiGian" HeaderText="Thời Gian" >
                                
                                <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                                               
                                <asp:TemplateField HeaderText="Trạng Thái">
                                    <ItemTemplate>
                                        <asp:Label ID="lblTrangThai" runat="server" Text='<%# Bind("TrangThai") %>'></asp:Label>
                                    </ItemTemplate>
                                    
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Xử Lý">
                                <ItemTemplate>
                                <asp:LinkButton ID="lnkXoa"  CommandArgument='<%#Eval("MaBinhLuan")%>' OnClientClick="javascript:return confirm('Bạn có chắc xóa bình luận này?');" CommandName="Xoa" CssClass="btn btn-inverse" runat="server" Text="Xóa"></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        </div>
                    <div class="clearfix"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
  </div>

   <div id="divBLAlbum" runat="Server" visible=false>
   
  <div class="row-fluid">

                <div class="span6">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Thông Tin Bình Luận
                  </div>
                </div>
                <div class="widget-body">
                  <div class="row-fluid">
                    <div class="span12">
                      <form class="form-horizontal no-margin">
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Mã Bình Luận</label><div class="span8">
                          <asp:TextBox ID="txtMaBinhLuanAlbum" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tên Album</label><div class="span8">
                          <asp:TextBox ID="txtTenAlbum" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>
                      

                         <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                             Thời Gian
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtThoiGianAlbum" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Tài Khoản
                          </label>
                          <div class="span8">
                              <%--<asp:TextBox ID="txtQuocGia" runat="server"></asp:TextBox>--%>
                          <asp:TextBox ID="txtTaiKhoanAlbum" Enabled="false" runat="server"></asp:TextBox>
                          </div>
                        </div>

                        <div style="width: 348px;" class="row-fluid">
                          <label class="span4">
                            Lời Bình
                          </label>
                          <div class="span8">
                          <asp:TextBox ID="txtLoiBinhAlbum" Enabled="false" runat="server" TextMode="MultiLine"></asp:TextBox>
                          </div>
                        </div>


                      <div class="form-actions " style="float: left;  width: 476px;">
                       
                         <div class="span2">
                         <asp:LinkButton ID="lnkXoaAlbum" Visible=true CssClass="btn btn-danger input-top-margin" 
                                    runat="server" onclick="lnkXoaAlbum_Click">Xóa</asp:LinkButton>
                         </div>
                        </div>  

                      </form>
                    </div>
                  </div>
                  
               </div>
              </div>
            </div>
          </div>

   <div class="row-fluid">
            <div class="span12">
              <div class="widget no-margin">
                <div class="widget-header">
                  <div class="title">
                    <span class="fs1" aria-hidden="true" data-icon=""></span> Danh Sách Bình Luận AlBum
                  </div>
                </div>
                <div class="widget-body">
                  <div id="Div3" class="example_alt_pagination">

                    <div id="Div4" class="dataTables_wrapper" role="grid">
                    
                        <asp:GridView ID="gvBLAlbum" runat="server" 
                            CssClass="table table-condensed table-striped table-hover table-bordered pull-left dataTable" 
                            AutoGenerateColumns="False" onrowcommand="gvBLAlbum_RowCommand" >
                            <Columns>
                              
                                <asp:TemplateField HeaderText="Tên Albumt">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkABMaBinhLuan" runat="server"><%#Eval("TenBaiHat")%></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                              
                                <asp:TemplateField HeaderText="Tài Khoản">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkABTaiKhoan" runat="server"><%#Eval("TaiKhoan")%></asp:LinkButton>
                                  </ItemTemplate>
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle Width="10%" HorizontalAlign="Center" />
                                </asp:TemplateField>
                                
                                <asp:BoundField DataField="ThoiGian" HeaderText="Thời Gian" >
                                
                                <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                                               
                                <asp:TemplateField HeaderText="Trạng Thái">
                                    <ItemTemplate>
                                        <asp:Label ID="lblTrangThai" runat="server" Text='<%# Bind("TrangThai") %>'></asp:Label>
                                    </ItemTemplate>
                                    
                                    <HeaderStyle CssClass="hidden-phone" HorizontalAlign="Center" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Xử Lý">
                                <ItemTemplate>
                                <asp:LinkButton ID="lnkXoa"  CommandArgument='<%#Eval("MaBinhLuan")%>' OnClientClick="javascript:return confirm('Bạn có chắc xóa bình luận này?');" CommandName="Xoa" CssClass="btn btn-inverse" runat="server" Text="Xóa"></asp:LinkButton>
                                </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        </div>
                    <div class="clearfix"></div>
                  </div>
                </div>
              </div>
            </div>
          </div>

  </div>

</asp:Content>
